<?php /* Smarty version 2.6.26, created on 2010-07-08 22:37:05
         compiled from index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'index.html', 22, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <?php echo '<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="'; ?><?php echo $this->_tpl_vars['design']; ?><?php echo 'style/main.css" rel="stylesheet" type="text/css"><link href="'; ?><?php echo $this->_tpl_vars['design']; ?><?php echo 'style/papers.css" rel="stylesheet" type="text/css"><link href="'; ?><?php echo $this->_tpl_vars['design']; ?><?php echo 'style/center_content.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="'; ?><?php echo $this->_tpl_vars['design']; ?><?php echo 'js/main.js"></script><title>Вебсайт Романчика Валерия Станиславовича</title></head><body>'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "globals/head.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '<div class="mainCenter" align="center"><div class="mainCenterContent"><div class="mainCenterContentLeft"><div class="leftContentBgTop"></div><div class="leftContentBgCenter" align="center"><div class="postList">'; ?><?php if (count($this->_tpl_vars['news'])): ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['newsItem']):
?><?php echo '<div class="postListItem"><div class="postListItemPostedTime" align="left"><div class="postedTimeBgLeft"></div><div class="postedTimeBgCenter">'; ?><?php echo $this->_tpl_vars['newsItem']['postdate']; ?><?php echo ' , '; ?><?php echo $this->_tpl_vars['newsItem']['author']; ?><?php echo '</div><div class="postedTimeBgRight"></div></div><span style="clear: left"></span><div class="postListItemHeader"><h2> <a href="/new'; ?><?php echo $this->_tpl_vars['newsItem']['newid']; ?><?php echo '.html">  '; ?><?php echo $this->_tpl_vars['newsItem']['caption']; ?><?php echo '  </a> </h2></div><div class="postListItemRedLine"></div><div class="postListItemContent" align="left">'; ?><?php $this->assign('previewImgWidth', 156); ?><?php echo ''; ?><?php $this->assign('previewImgHeight', 156); ?><?php echo ''; ?><?php if ($this->_tpl_vars['newsItem']['image']['width'] > $this->_tpl_vars['newsItem']['image']['height']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['newsItem']['image']['width'] > $this->_tpl_vars['previewImgWidth']): ?><?php echo ''; ?><?php $this->assign('newWidth', $this->_tpl_vars['previewImgWidth']); ?><?php echo ''; ?><?php $this->assign('newHeight', ($this->_tpl_vars['newsItem']['image']['height']/$this->_tpl_vars['newsItem']['image']['width']*$this->_tpl_vars['previewImgHeight'])); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('newWidth', $this->_tpl_vars['newsItem']['image']['width']); ?><?php echo ''; ?><?php $this->assign('newHeight', $this->_tpl_vars['newsItem']['image']['height']); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['newsItem']['image']['height'] > $this->_tpl_vars['previewImgHeight']): ?><?php echo ''; ?><?php $this->assign('newHeight', $this->_tpl_vars['previewImgHeight']); ?><?php echo ''; ?><?php $this->assign('newWidth', ($this->_tpl_vars['newsItem']['image']['width']/$this->_tpl_vars['newsItem']['image']['height']*$this->_tpl_vars['previewImgWidth'])); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('newWidth', $this->_tpl_vars['newsItem']['image']['width']); ?><?php echo ''; ?><?php $this->assign('newHeight', $this->_tpl_vars['newsItem']['image']['height']); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '<img src="'; ?><?php echo $this->_tpl_vars['newsItem']['image']['url']; ?><?php echo '" class="preview" alt=""  width='; ?><?php echo $this->_tpl_vars['newWidth']; ?><?php echo ' height='; ?><?php echo $this->_tpl_vars['newHeight']; ?><?php echo '/><p>'; ?><?php echo $this->_tpl_vars['newsItem']['maintext']; ?><?php echo '</p></div><div class="postListItemActions"><p> <a href="/new'; ?><?php echo $this->_tpl_vars['newsItem']['newid']; ?><?php echo '.html" class="postListItemDetails"> Read more >> </a> | <span class="postListItemComments"> Comments('; ?><?php echo $this->_tpl_vars['newsItem']['countComments']; ?><?php echo ') </span> </p></div></div><div class="postListItemRedLine"></div>'; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?><?php else: ?><?php echo '<div style="display: block; text-align: center;"><h2> There are no posted news. Maybe your will be first. </h2></div>'; ?><?php endif; ?><?php echo '</div></div><div class="leftContentBgBottom"></div><div class="pageListContainer" align="center">'; ?><?php if (count ( $this->_tpl_vars['leftIndexes'] ) > 1 || count ( $this->_tpl_vars['centerIndexes'] ) > 1 || count ( $this->_tpl_vars['rightIndexes'] ) > 1): ?><?php echo '<div class="pageList" align="center"><div class="pageListBgLeft">'; ?><?php if ($_GET['pagenum'] != 1): ?><?php echo '<a href="/page'; ?><?php echo $_GET['pagenum']-1; ?><?php echo '.html"> << </a>'; ?><?php endif; ?><?php echo '</div><div class="pageListBgCenter">'; ?><?php if (count ( $this->_tpl_vars['leftIndexes'] ) > 0): ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['leftIndexes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['curIndex']):
?><?php echo ''; ?><?php if ($_GET['pagenum'] == $this->_tpl_vars['curIndex']): ?><?php echo '<span style="font-weight: bold">&nbsp; '; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo ' &nbsp; </span>'; ?><?php else: ?><?php echo '&nbsp; <a href="/page'; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo '.html"> '; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo ' </a> &nbsp;'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?><?php if (count ( $this->_tpl_vars['centerIndexes'] ) > 0): ?><?php echo '...'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (count ( $this->_tpl_vars['centerIndexes'] ) > 0): ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['centerIndexes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['curIndex']):
?><?php echo ''; ?><?php if ($_GET['pagenum'] == $this->_tpl_vars['curIndex']): ?><?php echo '<span style="font-weight: bold">&nbsp; '; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo ' &nbsp; </span>'; ?><?php else: ?><?php echo '&nbsp;<a href="/page'; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo '.html"> '; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo ' </a> &nbsp;'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?><?php else: ?><?php echo '...'; ?><?php endif; ?><?php echo ''; ?><?php if (count ( $this->_tpl_vars['rightIndexes'] ) > 0): ?><?php echo ''; ?><?php if (count ( $this->_tpl_vars['centerIndexes'] ) > 0): ?><?php echo '...'; ?><?php endif; ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['rightIndexes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['curIndex']):
?><?php echo ''; ?><?php if ($_GET['pagenum'] == $this->_tpl_vars['curIndex']): ?><?php echo '<span style="font-weight: bold">&nbsp; '; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo ' &nbsp; </span>'; ?><?php else: ?><?php echo '&nbsp; <a href="/page'; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo '.html"> '; ?><?php echo $this->_tpl_vars['curIndex']; ?><?php echo ' </a>  &nbsp;'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?><?php endif; ?><?php echo '</div><div class="pageListBgRight">'; ?><?php if ($_GET['pagenum'] != $this->_tpl_vars['countPages']): ?><?php echo '<a href="/page'; ?><?php echo $_GET['pagenum']+1; ?><?php echo '.html"> >> </a>'; ?><?php endif; ?><?php echo '</div><span style="clear: both"></span></div>'; ?><?php endif; ?><?php echo '</div></div>'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "globals/right.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</div></div>'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "globals/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</body>'; ?>

</html>